import React from 'react';
import './css/register.less';
import ResetPwd from '../components/resetPwd'
class Account extends React.Component {
  state = {
    agree: 0,
    type: 2,
    account: '',
    password: '',
    msgCode: ''
  }
  resetSuccess = () => {
    this.props.history.push('/login/')
  }
  goBack = () => {
    this.props.history.goBack()
  }
  render() {
    return (
      <div className="row register">
        <div className="register-content register-margin">
          <div className="reset-back" onClick={this.goBack}><img alt="" src={require('../../images/icon/back_normal.png')}/></div>
          <div className="register-title text-center">找回密码</div>
          <ResetPwd ShowInfo={this.resetSuccess} isShow={false}></ResetPwd>
        </div>
      </div>
    );
  }
}
export default Account;

